<script setup>
import Item from '../components//Item.vue'
</script>

<template>
  <div class="wrapper">
   <div class="left-wrapper">
     <div class="upper">
       <div class="logo">
         <img src="/src/assets/logo.png"/>
       </div>
     </div>
     <div class="lower">
       <div class="feedbackico">
         <img src="/src/assets/feedback.png"/>
       </div>
     </div>
    </div>
    <div class="right-wrapper">
      <div class="modellabel">
        <img src="/src/assets/logo.png"/>
        <h1>历史记录</h1>
      </div>

      <Item msg="Headache" date="Dec.1 2024"></Item>
      <Item msg="Stomachache" date="Dec.2 2024"></Item>
    </div>
   </div>
</template>

<style scoped>
@font-face {
  font-family: "Iconify Explorer Font";
  src: url("icons/search.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}
.wrapper{
  display: flex;
  flex-direction: row;
  justify-content: left;
  background-color: #fff;
  min-height: 98vh;
  width: 23.5vw;

}
.wrapper .left-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 98vh;
  max-width: 3vw;
  background-color: #fff;
  border-right: #999 0.1vw solid;
  margin-top: 0.5vh;
}
.wrapper .left-wrapper .upper{
  width:2.9vw;
  height:auto;
  display: flex;
  flex-direction: column;
  top:0;
  left:0;
  background-color: #fff;
}
.wrapper .left-wrapper .upper .logo{
  width:2.9vw;
  height: 2.9vw;
  top:0;
  left:0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.wrapper .left-wrapper .upper .logo img{
  max-width:2.5vw;
  max-height:2.5vw;
}
.wrapper .left-wrapper .lower{
  left:0;
  bottom: 0;
  width: 2.9vw;
  height: auto;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-top: 84.4vh;
}
.wrapper .left-wrapper .lower .feedbackico{
  width:2.5vw;
  height: 4vw;
  top:0;
  left:0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  border-radius: 0.3vw;
  margin-left: 0.18vw;
}
.wrapper .left-wrapper .lower .feedbackico:hover{
  background-color: #eee;
}
.wrapper .right-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 16vw;
  background-color: #fff;

  row-gap: 0.5vw;
  margin-top: 0.5vh;
}
.wrapper .right-wrapper .modellabel{
  width:16vw;
  height:1.5vw;
  display:flex;
  flex-direction: row;
  justify-content: left;
  margin-left: -3vw;
  column-gap: 0.5vw;
}
.wrapper .right-wrapper .modellabel img{
  width:1.5vw;
  height: 1.5vw;
}
.wrapper .right-wrapper .modellabel h1{
  max-width: 14.5vw;
  min-width: 14.5vw;
  height: 1.5vw;
  font-size: 0.8vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: left;
  color: #000;
}
.wrapper .right-wrapper .searchbox{
  width:15vw;
  height:2.5vw;
  display:flex;
  align-items: center;
}
.wrapper .right-wrapper .searchbox .box{
  width:15vw;
  height:2.5vw;
  display:flex;
  background-color: #fff;
  align-items: center;
  border-radius:1.5vw;
  margin-left: -2vw;
}
.wrapper .right-wrapper .searchbox .box input{
  min-width:15vw;
  max-width:15vw;
  min-height:2.5vw;
  display:flex;
  background-color: #fff;
  align-items: center;
  border-radius:1.5vw;
  border:none;
  font-size:0.85vw;
}
.wrapper .right-wrapper .searchbox .box .searchico{
  width:1.5vw;
  height:1.5vw;
  align-items: center;
  display: flex;
  margin-left: -2.5vw;
}
.wrapper .right-wrapper .searchbox .box .searchico .ico {
  width: 1.5vw;
  height: 1.5vw;
  display: flex;
  content: url("icons/search.svg");
}
</style>